package diona;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * User: anton
 * Date: 13.03.11 19:18
 */
public class Starter
{
    private static Logger LOG = LoggerFactory.getLogger(Starter.class);

    public static void main(String[] args)
    {
        LOG.debug("Starting HotKeyListener ***********************************************");

        ApplicationContext context = new ClassPathXmlApplicationContext("hkl_config.xml");
        context.getBean(HotKeyListenerApplication.class).start();
    }
}
